33 REM <CTRL-H><CTRL-H><CTRL-H><CTRL-H><CTRL-H><CTRL-H><CTRL-H><CTRL-H>===============================<CTRL-M>DOS BOSS (DEMO)<CTRL-M>BY BERT KERSEY AND JACK CASSIDY<CTRL-M>COPYRIGHT (C) 1981<CTRL-M>BEAGLE BROS. MICRO SOFTWARE<CTRL-M>===============================<CTRL-M><CTRL-D>FP
50 SP = 111:PAUSE = 999: REM 111,999
52 REM <CTRL-M><CTRL-D>FP
55 G$ = CHR$(7):Q$ = CHR$(34)
100 POKE -16300,0: TEXT : HOME : NORMAL : SPEED= SP
150 GOSUB 9999: PRINT : SPEED= SP: PRINT "DOS BOSS GIVES YOU CONTROL OVER APPLE'S DISK OPERATING SYSTEM, ALLOWING YOU TO RESTRUCTURE:": PRINT : HTAB 10: PRINT "- DOS COMMANDS"
155 HTAB 10: PRINT "- ERROR MESSAGES": HTAB 10: PRINT " AND": HTAB 10: PRINT "- CATALOG DISPLAYS": PRINT : PRINT "...ACCORDING TO YOUR PREFERENCES AND YOUR PARTICULAR APPLICATIONS."
160 PRINT : PRINT "THIS DEMONSTRATION WILL ILLUSTRATE JUST A ";:A$ = "FEW": GOSUB 9000: PRINT " OF THE POSSIBILITIES.": GOSUB 9999: GOSUB 9999
195 FOR I = 13 TO 24: HTAB 1: VTAB I: CALL -868: VTAB 25 -I: CALL -868: FOR J = 1 TO 50: NEXT : NEXT : SPEED= 255: INVERSE : VTAB 1: HTAB 9: PRINT " DOS COMMAND CHANGES ": SPEED= SP
200 NORMAL : PRINT : PRINT "DOS BOSS WILL PERMIT YOU TO CHANGE ANY OF APPLE'S 28 DOS COMMANDS.": PRINT : GOSUB 9999: PRINT : PRINT "FOR EXAMPLE...": PRINT : GOSUB 9999:
210 PRINT "YOU CAN CHANGE ";:A$ = "CATALOG": GOSUB 9000: PRINT " TO ";:A$ = "CAT": GOSUB 9000: PRINT " OR ";:A$ = "MENU": GOSUB 9000: PRINT ".": PRINT : PRINT "THIS WILL SAVE KEYSTROKES EVERY TIME YOUCATALOG AND HELP PREVENT TYPING ERRORS."
220 GOSUB 9999: PRINT : PRINT : PRINT "ONE-CHARACTER COMMANDS ARE POSSIBLE TOO:":A$ = "LOAD": HTAB 9: GOSUB 9000: PRINT " CAN BE RENAMED ";:A$ = "L": GOSUB 9000: PRINT ".": PRINT
230 HTAB 9:A$ = "EXEC": GOSUB 9000: PRINT " CAN BE RENAMED ";:A$ = "E": GOSUB 9000: PRINT ".": PRINT : PRINT : PRINT "ANYTHING YOU WANT; USE YOUR IMAGINATION!"
240 GOSUB 9999: POKE 34,6: INVERSE : PRINT : HTAB 8: PRINT " ERROR MESSAGE CHANGES ": FOR I = 1 TO 15: PRINT : NEXT : NORMAL : VTAB 10
250 SPEED= SP: PRINT "APPLE'S NORMAL DOS ERROR MESSAGE IS...": GOSUB 9999: SPEED= 255: PRINT :A$ = " SYNTAX ERROR": GOSUB 10000: GOSUB 9999: PRINT : SPEED= SP: PRINT "WITH DOS BOSS, CHANGE IT TO": PRINT :A$ = " DOS ERROR": GOSUB 10000
260 SPEED= SP: PRINT : PRINT "(TO DISTINGUISH IT FROM A ";:A$ = "BASIC": GOSUB 9000: PRINT " ERROR.)": GOSUB 9999: PRINT : PRINT "DOS BOSS GIVES YOU ENDLESS POSSIBILITIESFOR NOT ONLY IMPROVING DOS, BUT HAVING A LITTLE FUN TOO...": TEXT
290 SPEED= SP: PRINT "DOS BOSS LETS YOU RENAME ANY DOS COMMANDOR ERROR MESSAGE ANYTHING YOU WANT!": GOSUB 9999: GOSUB 9999: FOR I = 24 TO 1 STEP -1: VTAB I: CALL -868: FOR J = 1 TO 55: NEXT : NEXT : VTAB 1
300 SPEED= SP: PRINT "WITH DOS BOSS, YOU CAN "Q$"SAVE-PROTECT"Q$" A PROGRAM THAT HAS BEEN RUN...": PRINT : GOSUB 9999
302 PRINT " IF SOMEONE TYPES:": PRINT : PRINT "]";: FOR I = 1 TO 200: NEXT : PRINT "SAVE (PROGRAM NAME)": PRINT : PRINT " HE WILL GET A"
320 SPEED= SP: PRINT : PRINT "BECAUSE YOU HAVE ALTERED THE "Q$"SAVE"Q$: PRINT "COMMAND AND APPROPRIATE ERROR MESSAGES TO HELP PROTECT YOUR PROGRAM!"
330 PRINT : PRINT "BOOTING YOUR DISK OR RUNNING YOUR PROGRAM IS ALL THAT IS REQUIRED TO INSTALL ";:A$ = "YOUR": GOSUB 9000: PRINT " NEW DOS IN ";:A$ = "ANYONE'S": GOSUB 9000: PRINT " APPLE!"
340 PRINT : SPEED= SP: PRINT "THE DOS BOSS DOCUMENTATION BOOK HAS MANYEXAMPLES OF CREATIVE POSSIBILITIES.": GOSUB 9999: GOSUB 9999
405 PRINT : PRINT "APPLE'S CATALOG BECOMES MUCH MORE USEFULAND FLEXIBLE WITH DOS BOSS!": PRINT : PRINT "LET'S MAKE SOME IMPROVEMENTS WITH DOS BOSS'S MENU FEATURES...": GOSUB 9999
450 V = 9: GOSUB 9200: PRINT "DISK VOLUME 254": PRINT : FOR I = 1 TO 500: NEXT
460 SPEED= 222: PRINT "*A 010 HELLO": PRINT " A 051 OLD RECIPES": PRINT " I 044 STAR TREK": PRINT " T 055 ADDRESS FILE": PRINT "*T 003 NAMES FILE"
480 GOSUB 8500: VTAB 3: SPEED= SP: PRINT "DOS BOSS CAN TITLE YOUR CATALOGS BY REPLACING APPLE'S USUALLY UNNECESSARY": PRINT Q$"DISK VOLUME"Q$" HEADING...": GOSUB 9999
490 SPEED= 255: FLASH : VTAB 11: HTAB 1: PRINT "DISK VOLUME 254";: NORMAL : FOR I = 1 TO 555: NEXT : HTAB 1: PRINT G$;"FRANK'S DISK #21";G$
500 GOSUB 9999: SPEED= SP: VTAB 7: CALL -868: PRINT "INVERSE OR FLASHING IF YOU WANT!": SPEED= 255: GOSUB 9999: INVERSE : VTAB 11: HTAB 1: CALL -868: PRINT "****************";: HTAB 1: FOR I = 1 TO 50: NEXT : PRINT G$;" WORK DISK A ";: CALL -868: NORMAL : GOSUB 9999
505 SPEED= 255: GOSUB 9999: VTAB 11:A$ = "V=254": FOR I = 1 TO 6: HTAB 15: PRINT " ";: HTAB 15: FOR J = 1 TO 50: NEXT : PRINT A$;: FOR J = 1 TO 50: NEXT : NEXT
599 GOSUB 9999: GOSUB 9999: FOR I = 3 TO 7: VTAB I: HTAB 1: CALL -868: NEXT : VTAB 3
600 SPEED= SP: PRINT "RUNNING DOS BOSS'S MENU PROGRAM WILL CATALOG ANY DISK AND LET YOU SELECT PROGRAMS WITH ";:A$ = "ONE KEYPRESS": GOSUB 9000: PRINT "!"
605 V = 8: GOSUB 9200
610 GOSUB 9999: VTAB 10:FLAG = 1: GOSUB 460:FLAG = 0: FOR I = 10 TO 19: NORMAL : VTAB I: HTAB 1: PRINT " ";: INVERSE : PRINT CHR$(I +55): NEXT : HTAB 6: PRINT " ": HTAB 6: PRINT " SELECT:";: NORMAL : GOSUB 9999
620 SPEED= SP: VTAB 23: HTAB 1: PRINT "PRESSING ONE KEY RUNS, BRUNS OR EXECS THE SELECTED PROGRAM AUTOMATICALLY!";: VTAB 21: GOSUB 9999: SPEED= 200
650 HTAB 38:A$ = "<-(YOU TYPE 1 LETTER.)": FOR I = LEN(A$) TO 1 STEP -1: PRINT MID$ (A$,I,1);"<CTRL-H><CTRL-H>";: NEXT : FOR I = 1 TO 500: NEXT
700 NORMAL : GOSUB 9999: GOSUB 9999: SPEED= SP: GOSUB 9100: PRINT "WITH YOUR DOS BOSS DISKETTE, YOU WILL RECEIVE...": PRINT : INVERSE : PRINT " THE DOS BOSS BOOK ": NORMAL
710 PRINT "EXCELLENTLY-WRITTEN COVERAGE OF ALL DOS BOSS FEATURES & POSSIBILITIES-- A GREAT APPLE LEARNING TOOL!": PRINT : PRINT "PLUS...": PRINT
720 INVERSE : PRINT " BEAGLE BROS PEEKS & POKES CHART ": NORMAL : PRINT "POKE YOUR APPLE ALL NIGHT LONG WITH THISHANDY 11X17 REFERENCE POSTER! THE MOST USABLE PEEKS, POKES, POINTERS AND CALLS!": PRINT "PLUS...": PRINT
730 INVERSE : PRINT " BEAGLE BROS APPLE TIP BOOK #2 ": NORMAL : PRINT "AN ENTERTAINING COLLECTION OF TRICKS, SUGGESTIONS AND PROGRAM LISTINGS TO TRY ON YOUR APPLE. HOURS OF GOOD READING!"
750 PRINT : GOSUB 9999: GOSUB 9999: GOSUB 9999
800 FOR I = 1 TO 24: PRINT : NEXT : GOTO 100
8000 NORMAL : SPEED= 255: END
8500 FOR I = 3 TO 8: VTAB I: HTAB 1: CALL -868: NEXT : RETURN
8600 FOR Z = 1 TO 6:S = PEEK( -16336): NEXT : RETURN
9000 SPEED= 200: FOR I = 1 TO LEN(A$):VPOZ = PEEK(37) +1:HPOZ = PEEK(36) +1: VTAB VPOZ: HTAB HPOZ: PRINT MID$ (A$,I,1);: VTAB VPOZ +1: HTAB HPOZ: PRINT "-";: VTAB VPOZ: NEXT : SPEED= SP: RETURN
9100 FOR I = 38 TO 0 STEP -1: POKE 32,I: POKE 33,40 -I: HOME : NEXT : RETURN
9200 SPEED= 255: VTAB V: HTAB 1: CALL -958: NORMAL :A$ = "]CATALOG": FOR I = 1 TO LEN(A$): NORMAL :X$ = MID$ (A$,I,1): PRINT X$;: FLASH : PRINT " <CTRL-H>";: FOR J = 1 TO 100 +500 *(X$ = "]"): NEXT : NEXT : NORMAL : PRINT " ": CALL -958: PRINT : RETURN
9999 FOR Z = 1 TO PAUSE: NEXT : RETURN
10000 T = PEEK(36) +1: SPEED= 255: HTAB T: PRINT A$;G$;: HTAB T: FOR I = 1 TO 15: NEXT : CALL -868: FOR I = 1 TO 100: NEXT : HTAB T: PRINT A$: IF F2 THEN FOR I = 1 TO PAUSE: NEXT
10001 RETURN
33333 REM <CTRL-H><CTRL-H><CTRL-H><CTRL-H><CTRL-H><CTRL-H><CTRL-H><CTRL-H><CTRL-H><CTRL-H><CTRL-H>===============================<CTRL-M>DOS BOSS (DEMO)<CTRL-M>BY BERT KERSEY AND JACK CASSIDY<CTRL-M>COPYRIGHT (C) 1981<CTRL-M>BEAGLE BROS. MICRO SOFTWARE<CTRL-M>===============================